package com.taoyibao.hongcanting.model;

import java.util.List;

/**
 * @author TangAnna
 * @description: 点餐页面分类列表
 * @date :${DATA} 19:07
 */
public class FoodTypeModel {
    /**
     * class_code : c06
     * class_name : +++++粥
     * class_count : 0
     * children : [{"dish_classId":"c06","dish_code":"d411","dish_name":"山药粥","dish_price":25,"dish_unit":"中","dish_pic":"","dish_sort":67,"dish_salecount":0,"dish_discount_price":0,"dish_form":"这里是食材","dish_count":0},{"dish_classId":"c06","dish_code":"d403","dish_name":"菜心粒肉片粥","dish_price":12,"dish_unit":"份","dish_pic":"","dish_sort":59,"dish_salecount":2,"dish_discount_price":0,"dish_form":"这里是食材","dish_count":0}]
     */

    public String class_code;
    public String class_name;
    public int class_count;
    public boolean isChecked;//用于判断是否选中
    public List<DishModel> children;

    @Override
    public String toString() {
        return "FoodTypeModel{" +
                "class_code='" + class_code + '\'' +
                ", class_name='" + class_name + '\'' +
                ", class_count=" + class_count +
                ", isChecked=" + isChecked +
                ", children=" + children +
                '}';
    }
}
